<%--
  Created by IntelliJ IDEA.
  User: suke
  Date: 2023/10/25
  Time: 15:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
    <form action="/UploadServlet" method="post" enctype="multipart/form-data">
        头像: <input type="file" name="photo">
        <hr/>
        姓名: <input type="text" name="name" />
        <hr/>
        <input type="submit" value="上传" />
        <!--按钮: submit: 提交按钮, 提交表单 reset:重置按钮
           button: 普通按钮: 需要绑定事件, 赋予工程
        -->
    </form>
</body>
</html>
